Leat\Infrastructure\Repositories\LeatContactRepository D

Total Complexity 126
Dependencies 13
Dependents 14
Total lines 1,102
Lines of code 754
Logical lines of code 343
Comment lines 220
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
get_by_wp_id()
A
41 12 58
find_or_create()
A
40 10 65
get_wc_order_data()
A
43 9 50
find_or_create_wp_user_by_uuid()
A
45 9 44
format_contact()
A
46 8 39
get_wc_guest_data()
A
43 6 50
get_purchased_categories()
S
50 7 30
update_with_basic_attributes_from_order()
S
45 6 41
get_required_attributes()
S
36 1 115
get_uuid_by_wp_id()
S
54 7 19
create()
S
50 6 30
ensure_custom_attributes_exist()
S
53 6 22
update_with_user_attributes()
S
53 5 22
update_with_guest_attributes()
S
53 5 22
update()
S
54 5 21
get_by_email()
S
58 4 16
get_by_uuid()
S
58 4 16
get_user_attributes()
S
54 3 19
get_product_categories_options()
S
59 2 16
attribute_exists()
S
67 3 8
get_first_order_data()
S
59 2 15
get_total_products_purchased()
S
64 3 10
get_default_wc_attributes()
S
63 1 11
__construct()
S
74 1 5
get_multisite_blogs()
S
65 1 10